package com.yudean.esb.mapper.esb;

import com.yudean.esb.domain.esb.EsbServiceConfigRelation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EsbServiceConfigRelationMapper {
    List<EsbServiceConfigRelation> select();

    List<EsbServiceConfigRelation> selectOne(EsbServiceConfigRelation relation);

    void insert(EsbServiceConfigRelation relation);

    void update(EsbServiceConfigRelation relation);

    void delete(EsbServiceConfigRelation relation);

    EsbServiceConfigRelation selectByServiceMapperID(String serviceMapperID);

    EsbServiceConfigRelation selectByTbNameAndSubTbName(@Param("tbName") String tbName, @Param("subTbName") String subTbName);
}
